package com.arpa.wms.mapper;

import com.arpa.wms.domain.dto.DifferenceItemDTO;
import com.arpa.wms.domain.entity.DifferenceItem;
import com.arpa.wms.domain.vo.DifferenceItemVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 盘点明细 Mapper 接口
 * </p>
 *
 * @author LEO
 * @since 2020-09-30
 */
public interface DifferenceItemMapper extends BaseMapper<DifferenceItem> {

    /**
     * 查询列表
     * @param differenceItemDTO
     * @return
     */
    List<DifferenceItemVO> queryList(DifferenceItemDTO differenceItemDTO);

    /**
     * 查询合计,包含总数
     * @param differenceItemDTO
     * @return
     */
    DifferenceItemVO queryListSum(DifferenceItemDTO differenceItemDTO);
}
